#!/bin/bash

sqoop export \
--username root \
--password 123456 \
--connect jdbc:mysql://hadoop01:3306/oe_olap \
--table oe_vist_consult_item \
--input-fields-terminated-by '\001' \
--export-dir /user/hive/warehouse/oe_rpt.db/rpt_absent \
-m 1